<template>
  <!-- 通用banner 开始 -->
  <swiper :options="swiperOption" ref="mySwiper" class="public-banner">
    <!-- slides -->
    <swiper-slide v-for="(item,index) in bannerList" :key="index">
      <img :src="item.positive" class="public-bannerImg">
    </swiper-slide>
    <!-- Optional controls -->
    <div class="swiper-pagination" slot="pagination"></div>
  </swiper>
  <!-- 通用banner 结束 -->
</template>

<script>
import banner from "./index.js";
export default banner;
</script>

<style lang="scss" scoped>
@import "./index.scss";
</style>